﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Admin_ExpertMT : PX.ShowLayer.BaseView
{
	private PX.Expert.ExpertView clsExpertView = new PX.Expert.ExpertView();

	public Admin_ExpertMT()
		: base("idTotal")
	{
		clsExpertView.Page = Page;

		AddTableColumn(new Tony.Structs.TableShowColumn("用户名", "Username"));
		AddTableColumn(new Tony.Structs.TableShowColumn("姓名", "Name"));
		AddTableColumn(new Tony.Structs.TableShowColumn("类型", "TypeName"));

		lBtnQueryAll.Visible = false;
		lBtnShowQuery.Visible = false;
		lBtnShowAdd.Visible = false;
	}

	protected void Page_Load(object sender, EventArgs e)
	{
		clsExpertView.DepartmentID = Convert.ToInt32(Session["LoginUserDepartmentID"]);
	}

	protected override Tony.ShowLayer.FormView GetViewType()
	{
		//return base.GetViewType();
		return clsExpertView;
	}
}
